package com.hiwan.unions.util;

/**
 * Created by llg on 2017/7/5.
 */
public class DialogUtil {
////    private static CallPopwindow callPopwindow;
//
//    //拨打电话
//    public static void callDirectly(final BaseActivity activity, final String mobile, int i) {
////        if (callPopwindow == null) {
////            callPopwindow = new CallPopwindow(activity);
////            callPopwindow.setOnCardLinstener(new CallPopwindow.OnCardLinstener() {
////                @Override
////                public void OnCard(String cardId) {
////                    Intent intent = new Intent();
////                    intent.setAction("android.intent.action.CALL");
////                    intent.setData(Uri.parse("tel:" + Utils.StringFilter(mobile)));
////                    activity.startActivity(intent);
////                }
////            });
////        }
////        callPopwindow.showPopupWindow(i, mobile);
//    }
}
